package cn.hamm.spms.module.open.api.test;

import cn.hamm.airpower.open.OpenBaseModel;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <h1>测试Api模型</h1>
 *
 * @author Hamm.cn
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OpenTestModel extends OpenBaseModel<OpenTestModel> {
    @NotBlank(message = "姓名不能为空")
    private String name;

    private Integer age;
}
